﻿using System;
using System.Collections.Generic;

namespace Framework
{
    public interface IController<in T> : IModuleEventDispatcher, IEventListener where T:View
    {
        void Connect(T view, IEventListener eventListener, IModuleEventDispatcher moduleEventDispatcher,
            Dictionary<Type, IService> services, Dictionary<Type, IModel> models);
        void Dispose();
    }
}